﻿using Bilibili.Model.Common;
using Bilibili.Model.Danmaku;

namespace Bilibili.Common
{
    public delegate void ViewClick(object v);
    public delegate void CookieEvent(string cookie);
    public delegate void CallbackObject(object sender);
    public delegate void MessageRecive(LiveDanmu model);
    public delegate object CallbackObjectWithData(object sender);
    public delegate void CallbackIntObject(object sender, int intObj);
    public delegate void CallbackStringClick(object sender, string json);
    public delegate void LoadStringEvent(LoadState loadState, string url);
    public delegate void CallbackFloatChange(object sender, float speed);
    public delegate void CallbackOperaClick(OperaType type, int position);
    public delegate void CallbackBooleanObject(object sender, bool result);
    public delegate void CallbackLongChange(object sender, long position);
    public delegate void CallbackNameObject(string name, dynamic dyObj);
    public delegate void ReportRequest(AuthResult authResult, string errMsg);
    public delegate void PlayerStateChange(object sender, PlayState playState);
    public delegate void CallbackIntLongObject(object sender, int type, int position);
    public delegate void CallbackDynamicObject(object sender, dynamic dynamicObj);
    public delegate void CommentItemClick(object sender, int index, CommentClickType type);
}